package cn.gjculture.shopping.api.entity;

import lombok.Data;
import lombok.Getter;

@Data
public class Banner {
    private String id;
    private String name;
    private String type;
    private String url;
    private String outUrl;
    private Integer index;
    //0-有效，1-新建
    private Integer status;



    public enum BannerType{
        HOME(1),VIP(2),ART(3);

        @Getter
        private int value;

        BannerType(int value){
            this.value=value;
        }
    }
}
